package com.sjksy.demo.vo.ledger;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "这个月导游业绩统计")
public class LedgerGuideStatisticVo {
    @Schema(description = "导游ID", example = "101")
    private Integer guideId; // 对应 g.guide_id

    @Schema(description = "导游名字", example = "李华")
    private String guideName; // 对应 e.name as guide_name

    @Schema(description = "导游编号", example = "G20231001")
    private String guideNumber; // 对应 g.guide_number

    @Schema(description = "导游等级", example = "5")
    private Integer guideLevel; // 对应 g.guide_level

    @Schema(description = "分公司名称", example = "北京分公司")
    private String branchName; // 对应 b.branch_name as branch_name

    @Schema(description = "分公司位置", example = "北京市朝阳区")
    private String branchPosition; // 对应 b.branch_position

    @Schema(description = "带团次数", example = "45")
    private Long tourCount; // 对应 COUNT(l.ledger_id) as tour_count

    @Schema(description = "总销售额", example = "78901.23")
    private BigDecimal totalSales; // 对应 SUM(tc.money) as total_sales
}
